//
// Created by jyc on 2021/10/2.
//

#include "Logger.h"
#include <stdexcept>
#include <iostream>


void Bonnie::LogError(const std::string &msg) {
    throw  std::runtime_error(msg);
}

void Bonnie::LogInfo(const std::string &msg) {
    std::cout << "Info : " << msg << std::endl;
}

void Bonnie::LogWarning(const std::string &msg) {
    std::cout << "Warning : " << msg << std::endl;
}
